package com.mef.smsplat.domain;

import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.mef.smsplat.web.controller.config.CustomDateSerializer;

public class LimitInfoDomain {
	private String limitId;
	private String limitName;
	private String limitUrl;
	private int limitType;
	private String limitPageClass;
	private int limitMenu;
	private String limitFather;
	private int limitSeq;
	private Date createTime;
	private String remark;

	
	public String getLimitId() {
		return limitId;
	}

	public void setLimitId(String limitId) {
		this.limitId = limitId;
	}

	public String getLimitName() {
		return limitName;
	}

	public void setLimitName(String limitName) {
		this.limitName = limitName;
	}

	public String getLimitUrl() {
		return limitUrl;
	}

	public void setLimitUrl(String limitUrl) {
		this.limitUrl = limitUrl;
	}

	public int getLimitType() {
		return limitType;
	}

	public void setLimitType(int limitType) {
		this.limitType = limitType;
	}

	public String getLimitPageClass() {
		return limitPageClass;
	}

	public void setLimitPageClass(String limitPageClass) {
		this.limitPageClass = limitPageClass;
	}

	public int getLimitMenu() {
		return limitMenu;
	}

	public void setLimitMenu(int limitMenu) {
		this.limitMenu = limitMenu;
	}

	public String getLimitFather() {
		return limitFather;
	}

	public void setLimitFather(String limitFather) {
		this.limitFather = limitFather;
	}

	public int getLimitSeq() {
		return limitSeq;
	}

	public void setLimitSeq(int limitSeq) {
		this.limitSeq = limitSeq;
	}

	@JsonSerialize(using = CustomDateSerializer.class)
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}
